package common.interf;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import net.sf.json.JSONObject;

public interface IServletHandle {
	public int writeToClient(HttpServletResponse res,String msgs); 
	public int writeToClient1(HttpServletResponse res,String msgs);
	public int writeToClient(HttpServletResponse res,String msgs,String type);
	public int writeToClient(HttpServletResponse res,String msgs,String type,String callback);
	public int writeToClient1(HttpServletResponse res,String msgs,String type); 
	public int writeToClient1(HttpServletResponse res,String msgs,String type,String callback);
	public int writeToClient(HttpServletResponse res,JSONObject jobj);
	public String getServerPath(HttpServletRequest request);
	
	/**
	 * 获取来源手机系统
	 * @return 手机系统
	 */
	public String getSrcSystem();
}
